#pragma once



#include <iostream>
#include "ShowLog.h"


class Player
{
public:
	Player();
	~Player();

	void Move(int,int);

	void Move2(int xa, int ya)
	{
		this->x += xa * this->speed;
		this->y += ya * this->speed;
	}

private:
	int x, y;
	int speed;

};

Player::Player()
{
}

Player::~Player()
{
}

inline
void Player::Move(int xa, int ya)
{
	this->x += xa * this->speed;
	this->y += ya * this->speed;
}


int RunExample018()
{
	Player player;
	player.Move(4,2);



	return 0;
}



